/*
 * @Author: 码上talk|RC/3189482282@qq.com
 * @Date: 2021-10-13 14:06:52
 * @LastEditTime: 2021-12-04 14:22:03
 * @LastEditors: 码上talk|RC
 * @Description: 
 * @FilePath: /mp-datav/vue.config.js
 */
let path = require('path');

module.exports = {
  css: {
    loaderOptions: {
      sass: {
        prependData: `@import "~@/uni.scss";`
      },
      scss: {
        prependData: `@import "~@/uni.scss";`
      }
    }
  },
  configureWebpack: {
    resolve: {
      alias: {
        uview: path.join(__dirname, 'uni_modules/uview-ui/components'),
        axqc: path.join(__dirname, 'components')
      }
    },
    optimization: {
      minimize: true
    }
  }
}